package com.limao.dataEnum;

public enum OnlinePayEnum {
	
	appliy("appliy",0),		//0支付宝
	wx("wx",1),				//1为微信
	bank("bank",2),		   //2银联支付
	icard("icard",3),		//3余额支付
	iappay("iappay",4);		//4爱贝云支付
	
    private String stringValue;  
    private int intVlue;  
      
    private OnlinePayEnum(String stringValue){  
        this.stringValue = stringValue;  
    }  
      
    private OnlinePayEnum(int intVlue){  
        this.intVlue = intVlue;  
    }  
    
    private OnlinePayEnum(String stringValue,int intVlue){  
        this.stringValue = stringValue;  
        this.intVlue=intVlue;
    } 

	public String getStringValue() {
		return stringValue;
	}

	public int getIntVlue() {
		return intVlue;
	}
	
	public static String getEnumString(int i) {
		switch(i)
		{
		case 0:
			return "支付宝";
		case 1:
			return "微信";
		case 2:
			return "银联支付";
		case 3:
			return "余额支付";
		case 4:
			return "爱贝支付";
		default:
		}
		return "";
	}
}
